package com.acrm.client.exception;

public abstract class InteractionException extends Exception{
	
	private static final long serialVersionUID = 4131826626324952665L;
	
	private int typeId;
	
	public InteractionException() {
		super();
	}

	public InteractionException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public InteractionException(String message, Throwable cause) {
		super(message, cause);
	}

	public InteractionException(String message) {
		super(message);
	}

	public InteractionException(Throwable cause) {
		super(cause);
	}

	public InteractionException(int typeId) {
		super();
		this.typeId = typeId;
	}

	public InteractionException(String message, Throwable cause,boolean enableSuppression, boolean writableStackTrace,int typeId) {
		super(message, cause, enableSuppression, writableStackTrace);
		this.typeId=typeId;
	}

	public InteractionException(String message, Throwable cause,int typeId) {
		super(message, cause);
		this.typeId=typeId;
	}

	public InteractionException(String message,int typeId) {
		super(message);
		this.typeId=typeId;
	}

	public InteractionException(Throwable cause,int typeId) {
		super(cause);
		this.typeId=typeId;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	
	public abstract String toUIMessage();
}
